<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$_base_url}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$ci_article.title_clean}</title>
</head>
<body>
<h1>{$ci_article.title}</h1>
{if $authors}
By 
{foreach from=$authors item=author name=author_loop}
<strong>{$author}</strong>{if !$smarty.foreach.author_loop.last}, {/if}
{/foreach}
<br />
{/if}
{$ci_article.created}
<div>
{$ci_article.intro}
</div>
<div>
{$ci_article.content}
</div>
<div>
{foreach from=$images item=image}
<a href="admin/modules/tangra_cms/get_img_admin.php?imgid={$image->get_id()}" target="_blank"><img src="admin/modules/tangra_cms/get_img_admin.php?imgid={$image->get_id()}&amp;imgvar=t1" border="0" /></a><br />
{/foreach}
</div>

{if $attachments}
<br /><br />
Attachments:
<div>
<table width="100%" border="0" cellpadding="2" cellspacing="0">
    {foreach from=$attachments item=attachment}                                                
		{$attachment->get_orig_filename()} ({$attachment->get_size()/1024|string_format:"%.2f"} KiB)<br />
    {/foreach}                                                    
</table>
</div>
{/if}

</body>
</html>
